package com.qingke.demo.phone;

public class Phone {
	private String name;
	private String brand;
	private String model;
	private int price;
	
	public Phone(){
		
	}
	
	public Phone(String name,String brand,String model){
		this.name = name;
		this.brand = brand;
		this.model = model;
	}
	
	public String getName(){
		return name;
	}
	
	public void setName(String name){
		this.name = name;
	}
	
	public String getBrand(){
		return brand;
	}
	
	public void setBrand(String brand){
		this.brand = brand;
	}
	
	public String getModel(){
		return model;
	}
	
	public void setModel(String model){
		this.model = model;
	}
	
	public int getPrice(){
		return price+100;
	}
	
	public void setPrice(int price){
		this.price = price;
	}
}
